package com.aiti.lulian.mapper;

import com.aiti.base.core.base.mapper.SuperMapper;
import com.aiti.lulian.dto.LuLianPurchaseDemandDto;
import com.aiti.lulian.entity.LuLianPurchaseDemand;
import com.aiti.lulian.vo.LuLianPurchaseDemandVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface LuLianPurchaseDemandMapper extends SuperMapper<LuLianPurchaseDemand> {
    List<LuLianPurchaseDemandVo> findLuLianPurchaseDemandListPage(Page page, @Param("luLianPurchaseDemandDto") LuLianPurchaseDemandDto luLianPurchaseDemandDto);

    LuLianPurchaseDemandVo getById (String baseId);
}
